import request from '@/utils/request'

export function getAccountList(data) {
    return request({
        url: '/account/getAccountList',
        method: 'post',
        data
    })
}

export function createAccount(data) {
    return request({
        url: '/account/addAccount',
        method: 'post',
        data
    })
}

export function editAccount(data) {
    return request({
        url: '/account/editAccount',
        method: 'post',
        data
    })
}
export function delAccount(data) {
    return request({
        url: '/account/delAccount',
        method: 'post',
        data
    })
}
export function resetAccount(data) {
    return request({
        url: '/account/resetAccount',
        method: 'post',
        data
    })
}
export function setAccountStatus(data) {
    return request({
        url: '/account/freezeAccount',
        method: 'post',
        data
    })
}


